package com.hengxinguotong.hxgtwygsp.ui.publicInfo;

import com.hengxinguotong.hxgtwygsp.R;
import com.hengxinguotong.hxgtwygsp.ui.base.DialogActivity;
import com.hengxinguotong.hxgtwygsp.ui.publicInfo.baseInfo.BaseInfoFragment;
import com.hengxinguotong.hxgtwygsp.ui.publicInfo.publicSupervise.PublicSuperviseFragment;

import javax.inject.Inject;

/**
 * 信息公示
 * Created by CS-Yong
 * 2019/8/8  11:40
 */
public class PublicInfoActivity extends DialogActivity {

    @Inject
    BaseInfoFragment baseInfoFragment;
    @Inject
    PublicSuperviseFragment publicSuperviseFragment;

    @Override
    public void initFragmentList() {
        dialogTitle.setText(R.string.main_community_info_publish);
        baseInfoFragment.setTabText(getString(R.string.main_base_info));
        baseTabFragmentList.add(baseInfoFragment);
        publicSuperviseFragment.setTabText(getString(R.string.main_publish_supervise));
        baseTabFragmentList.add(publicSuperviseFragment);
    }
}
